extends ../layout

block init
  -title = "商家列表"
  -dir = "/html/store/list"

block body
  #app
    p.title 商家
    a.item(v-for="item in items" , :href="'detail?id='+item.id",v-cloak)
      img(:src="getImg(item.image)")
      div
        .name {{item.name}}
        .description {{item.description}}
        .address {{item.address}}
        .min_price 起送：{{item.min_price}}元

    .noData(v-if="!items.length",v-cloak) 没有商家信息





